<?php
/**
 * Created by PhpStorm.
 * User: R.Ice
 * Date: 2019/8/20
 * Time: 10:14
 * /erpStudent/update_student_notice
 */

//获取参数
$osn_id = $route->bodyParams["osn_id"];//主键ID

//更新条件
$whereArr = [
    "osn_id" => $osn_id
];

$updateArr = deleteArrData($whereArr,$route->bodyParams);

//执行写入语句
$rsData = $db->mysqlDB->update("oa_student_notice",$whereArr,$updateArr);

//返回成功结果
$response->responseData( true, $rsData );